package com.crazymo.replaceskin;

import android.os.Bundle;
import android.view.View;

import com.crazymo.moskin.core.BaseSkinActivity;
import com.crazymo.moskin.core.SkinManager;
import com.crazymo.moskin.core.Util;

/**
 * @author crazy.mo
 */
public class SettingActivity extends BaseSkinActivity {
    boolean flag =true;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setting);
    }

    public void replace(View view) {
        Util.SharePreference.save(this,"config_skin","isNight",true);
        SkinManager.getInstance().updateSkin();
    }

    public void back(View view) {
        finish();
    }
}
